From: Florian Müllner Date: Sun, 23 Apr 2023 19:10:40 +0000 (+0200) Subject: status/bluetooth: Use 'Alias' for item labels X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~113 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9711a918e73a2959be7f7966db300615035468c9;p=gnome-shell.git status/bluetooth: Use 'Alias' for item labels Unlike 'Name', the 'Alias' property can be changed by the user, so it's more suitable for user-visible labels. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6626 Part-of: --- diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 8f1d82a94..2977a4d94 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -212,7 +212,7 @@ class BluetoothDeviceItem extends PopupMenu.PopupBaseMenuItem { this._device.bind_property('icon', this._icon, 'icon-name', GObject.BindingFlags.SYNC_CREATE); - this._device.bind_property('name', + this._device.bind_property('alias', this._label, 'text', GObject.BindingFlags.SYNC_CREATE); this._device.bind_property_full('connected',